package com.pactera.madp.cp.api.entity.sensitive;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * SensitiveMatchingRuleEntity
 *
 * @author jun
 * @version 1.0
 * 2021/6/23 10:02
 **/
@TableName(value = "cp_sensitive_matching_rule")
@Data
@ApiModel(value = "敏感词-匹配规则表")
public class SensitiveMatchingRuleEntity {
    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "敏感词id")
    private Integer sensitiveId;

    @ApiModelProperty(value = "匹配规则")
    private String matchingRule;
}
